package com.voltmao.energy.Dao;

import java.util.Date;

public class MeterInfo {
    private Long id;

    private String name;

    private Long customer;

    private Long terminal;

    private Integer idx;

    private Integer pn;

    private Short baud;

    private Byte tPort;

    private Byte protocol;

    private Long address;

    private Byte rates;

    private Byte digit;

    private Byte decimal;

    private Byte major;

    private Byte minor;

    private Integer ratedU;

    private Integer ratedI;

    private Integer ratedP;

    private Short pt;

    private Short ct;

    private String location;

    private Boolean disable;

    private Integer orderNo;

    private Long createdBy;

    private Date createdDate;

    private Long lastModifiedBy;

    private Date lastModifiedDate;

    private String zt;

    private String yx;

    private byte[] password;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getCustomer() {
        return customer;
    }

    public void setCustomer(Long customer) {
        this.customer = customer;
    }

    public Long getTerminal() {
        return terminal;
    }

    public void setTerminal(Long terminal) {
        this.terminal = terminal;
    }

    public Integer getIdx() {
        return idx;
    }

    public void setIdx(Integer idx) {
        this.idx = idx;
    }

    public Integer getPn() {
        return pn;
    }

    public void setPn(Integer pn) {
        this.pn = pn;
    }

    public Short getBaud() {
        return baud;
    }

    public void setBaud(Short baud) {
        this.baud = baud;
    }

    public Byte gettPort() {
        return tPort;
    }

    public void settPort(Byte tPort) {
        this.tPort = tPort;
    }

    public Byte getProtocol() {
        return protocol;
    }

    public void setProtocol(Byte protocol) {
        this.protocol = protocol;
    }

    public Long getAddress() {
        return address;
    }

    public void setAddress(Long address) {
        this.address = address;
    }

    public Byte getRates() {
        return rates;
    }

    public void setRates(Byte rates) {
        this.rates = rates;
    }

    public Byte getDigit() {
        return digit;
    }

    public void setDigit(Byte digit) {
        this.digit = digit;
    }

    public Byte getDecimal() {
        return decimal;
    }

    public void setDecimal(Byte decimal) {
        this.decimal = decimal;
    }

    public Byte getMajor() {
        return major;
    }

    public void setMajor(Byte major) {
        this.major = major;
    }

    public Byte getMinor() {
        return minor;
    }

    public void setMinor(Byte minor) {
        this.minor = minor;
    }

    public Integer getRatedU() {
        return ratedU;
    }

    public void setRatedU(Integer ratedU) {
        this.ratedU = ratedU;
    }

    public Integer getRatedI() {
        return ratedI;
    }

    public void setRatedI(Integer ratedI) {
        this.ratedI = ratedI;
    }

    public Integer getRatedP() {
        return ratedP;
    }

    public void setRatedP(Integer ratedP) {
        this.ratedP = ratedP;
    }

    public Short getPt() {
        return pt;
    }

    public void setPt(Short pt) {
        this.pt = pt;
    }

    public Short getCt() {
        return ct;
    }

    public void setCt(Short ct) {
        this.ct = ct;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Boolean getDisable() {
        return disable;
    }

    public void setDisable(Boolean disable) {
        this.disable = disable;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Long getLastModifiedBy() {
        return lastModifiedBy;
    }

    public void setLastModifiedBy(Long lastModifiedBy) {
        this.lastModifiedBy = lastModifiedBy;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public String getZt() {
        return zt;
    }

    public void setZt(String zt) {
        this.zt = zt == null ? null : zt.trim();
    }

    public String getYx() {
        return yx;
    }

    public void setYx(String yx) {
        this.yx = yx == null ? null : yx.trim();
    }

    public byte[] getPassword() {
        return password;
    }

    public void setPassword(byte[] password) {
        this.password = password;
    }

	private TerminalPort tempClass;//多表联查
	public TerminalPort getTmpClass() {
		return tempClass;
	}
	
	public void setTmpClass(TerminalPort tempClass) {
		this.tempClass = tempClass;
	}
}